<template>
  <div class="footer">
    <span>
      {{ init.alias }}
    </span>
    <p v-if="!http.includes('6868618')">
      鲁ICP备14014132号-2
      <span v-if="http.indexOf('sddl') == -1">
        本平台由<a href="https://mp.weixin.qq.com/s/_KTk3plFZ_WiIPTh3UzDnA"
          >泰捷云学</a
        >提供
      </span>
    </p>
    <p v-else>
      <a target="_blank" style="color: #fff" href="https://beian.miit.gov.cn/">
        鲁ICP备19031581号-3</a
      >
    </p>
  </div>
</template>

<script>
import "@/styles/mobile.css";
import { mapGetters } from "vuex";
export default {
  computed: {
    ...mapGetters(["init", "active", "http"]),
  },
};
</script>

<style lang="scss" scoped>
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #999999;
  width: 100%;
  height: 11vh;
  margin-top: 0.75rem;
  p {
    margin: 0;
  }
}
</style>